package com.diankangwo.dao;

import com.diankangwo.domain.PhoneAndCode;

import java.util.List;

public interface PhoneAndCodeDAO extends BaseDAO<PhoneAndCode> {

    /**

     * 倒序获取指定条数信息

     */
    public List<PhoneAndCode> findOrderBy(int count);

    public boolean findByCode(String tel,String code);
}
